export function exportExcel(data,filename) {
    const blob = new Blob([data], { type: 'application/pdf' });
    const link = document.createElement('a')
    link.download = filename + '.pdf'
    link.href = window.URL.createObjectURL(blob)
    document.body.appendChild(link)
    link.click()
    //释放内存
    document.body.remove(link)
    window.URL.revokeObjectURL(link.href)
}
